Fix completions of exports elsewhere in same file#43755
Fix completions of exports elsewhere in same file#43755andrewbranch merged 5 commits intomicrosoft:masterfrom
Conversation
|
@sandersn I realized I couldn’t really fix the primary bug (#43289) without addressing the contextual typing thing head-on, which I think I’ve done now. |
|
@typescript-bot user test this |
|
Heya @andrewbranch, I've started to run the parallelized community code test suite on this PR at 61521db. You can monitor the build here. |
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
| case AssignmentDeclarationKind.ModuleExports: | ||
| case AssignmentDeclarationKind.ThisProperty: | ||
| return getContextualTypeForThisPropertyAssignment(binaryExpression, kind); | ||
| valueDeclaration ||= binaryExpression.symbol?.valueDeclaration; |
There was a problem hiding this comment.
switch scope rules are boooooooooo
Fixes #43289, along with another bug I found on the way:
and